package com.goods.service;

import com.goods.common.model.business.ProductCategory;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.business.ProductCategoryVO;

import java.util.List;

public interface ProductCategoryService {


    List<ProductCategory> getList();

    List<ProductCategory> categoryTree();

    int add(ProductCategoryVO productCategoryVO);

    ProductCategory edit(Long id);

    int update(Long id, ProductCategoryVO productCategoryVO);

    int delete(Long id);
}
